const Home = () => import('pages/Home')
const Lanlv = () => import('pages/Lanlv')
// 地图
const Map = () => import('pages/map/Map')
// 购物首页
const Shopping = () => import('pages/shopping/Shopping') // 购物首页
const Confirm = () => import('pages/shopping/Confirm') // 确认订单
// 个人中心
const Personal = () => import('pages/personal') // 个人中心主页面
const Order = () => import('pages/personal/Order') // 我的订单
const Orderdetail = () => import('pages/personal/Orderdetail') // 订单-详情
const Return = () => import('pages/personal/Return') // 申请退货
const Discount = () => import('pages/personal/Discount') // 我的优惠
// 问题反馈
const Question = () => import('pages/question/Question') // 问题反馈
// 加盟合作
const Join = () => import('pages/join/join') // 加盟合作
// 补货管理
const Loginbu = () => import('pages/replenishment/Loginbu') // 登录
const Replenish = () => import('pages/replenishment/Replenish') // 补货主界面
const Replenishbig = () => import('pages/replenishment/Replenishbig') // 补货界面（大）
const Purchase = () => import('pages/replenishment/Purchase') // 补货完成
// 柜机信息
const Cabinet = () => import('pages/replenishment/guiji/Cabinet') // 柜机信息
const Quehuo = () => import('pages/replenishment/guiji/Quehuo') // 柜机信息缺货信息
// 扫码补货
const Scanrep = () => import('pages/replenishment/saoma/Scanrep')
// 店长
const Shopowner = () => import('pages/replenishment/dianzhang/Shopowner') // 店长
const Repmember = () => import('pages/replenishment/dianzhang/Repmember') // 补货员管理
const Createmeb = () => import('pages/replenishment/dianzhang/Createmeb') // 创建补货员
const Repmessage = () => import('pages/replenishment/dianzhang/Repmessage') // 补货员信息
// 仓库管理
const Warehouse = () => import('pages/replenishment/cangku/Warehouse') // 商品仓库管理
const Daishou = () => import('pages/replenishment/cangku/Daishou') // 待收货订单
const Error = () => import('pages/replenishment/cangku/Error') // 收货有误-填写订单

// 加盟商
const Loginjiu = () => import('pages/replenishment/Loginjiu')
const Replenishment = () => import('pages/replenishment/Replenishment')// 加盟商
const HotelManagement = () => import('pages/replenishment/HotelManagement')// 酒店管理
const HotelDetails = () => import('pages/replenishment/HotelDetails')// 酒店管理信息
const HotelSales = () => import('pages/replenishment/Hotelsales/HotelSales') // 该酒店总共销售额
const Salesvolume = () => import('pages/replenishment/Hotelsales/Salesvolume')// 当月当日当周售额
const Salesdetails = () => import('pages/replenishment/Hotelsales/Salesdetails')// 售额详情
const Totalalesvolume = () => import('pages/replenishment/Hotelsalesvolume/Totalalesvolume')// 酒店总销售量
const Dailysalesvolume = () => import('pages/replenishment/Hotelsalesvolume/Dailysalesvolume')// 酒店销售量 日 周 月
const HotelSalesDetails = () => import('pages/replenishment/Hotelsalesvolume/HotelSalesDetails')// 酒店销售量 详情
const Hotelsharing = () => import('pages/replenishment/Hotelshare/Hotelsharing')// 酒店总分成额
const Salesamount = () => import('pages/replenishment/Hotelshare/Salesamount')// 该酒店分成额 日 周 月
const Divideintodetails = () => import('pages/replenishment/Hotelshare/Divideintodetails')// 该酒店分成额详情
const Replenishmentclerk = () => import('pages/replenishment/Replenishmentclerk')// 补货员详情
// 添加酒店 删除酒店
const AddHotel = () => import('pages/replenishment/AddHotel/AddHotel')// 添加酒店
const Frame = () => import('pages/replenishment/Frame')// 添加酒店 备用调试东西用
// 酒店数据罗盘
const Datacompass = () => import('pages/Datacompass/Datacompass')// 数据罗盘
const DataHotelSales = () => import('pages/Datacompass/DataHotelSales')// 罗盘共销售额
const DataHotelsharing = () => import('pages/Datacompass/DataHotelsharing')// 罗盘数据总共销售额
const DataTotalalesvolume = () => import('pages/Datacompass/DataTotalalesvolume')// 数据罗盘总销售量
const Compassorder = () => import('pages/Datacompass/Compassorder')// 数据罗盘当日周月 订单量
const CompassOrderDetails = () => import('pages/Datacompass/CompassOrderDetails')// 数据罗盘订单详情

// 我的钱包
const Mywallet = () => import('pages/Mywallet/Mywallet') // 我的钱包
const Pursesharing = () => import('pages/Mywallet/Pursesharing') // 钱包 当日 周 月 收益
const Walletdetails = () => import('pages/Mywallet/Walletdetails') // 钱包 当日 周 月 收益
// 柜机
const Hotelcounter = () => import('pages/replenishment/Hotelcounter/Hotelcounter')// 补货员详情
const Enabled = () => import('pages/replenishment/Hotelcounter/Enabled')// 补货员详情
// 加盟商的酒店管理
const HotelAlliance = () => import('pages/HotelAlliance/HotelAlliance') // 加盟商酒店入口
const Hotelfranchisedetails = () => import('pages/HotelAlliance/Hotelfranchisedetails') // 加盟商酒店入口
const HotelSalesa = () => import('pages/HotelAlliance/Hotelsales/Hotelsales') // 加盟商该酒店总共销售额
const Salesdetailsa = () => import('pages/HotelAlliance/Hotelsales/Salesdetails') // 加盟商酒店销售额详情
const Salesvolumea = () => import('pages/HotelAlliance/Hotelsales/Salesvolume') // 当日 周 月 售额
const Totalalesvolumea = () => import('pages/HotelAlliance/Hotelsalesvolum/Totalalesvolume') // 加盟酒店总销售量
const HotelSalesDetailsa = () => import('pages/HotelAlliance/Hotelsalesvolum/HotelSalesDetails') // 加盟酒店销售详情
const Dailysalesvolumea = () => import('pages/HotelAlliance/Hotelsalesvolum/Dailysalesvolume') // 加盟商酒店销售量 日 周 月
const Divideintodetailsa = () => import('pages/HotelAlliance/Hotelshare/Divideintodetails') // 加盟商酒店分成详情
const Hotelsharinga = () => import('pages/HotelAlliance/Hotelshare/Hotelsharing') // 加盟商该酒店总共销售额
const Salesamounta = () => import('pages/HotelAlliance/Hotelshare/Salesamount') // 加盟酒店分成周日月
const FranchiserSupplier = () => import('pages/HotelAlliance/FranchiserSupplier') // 加盟酒店分成周日月
// 购买成功
const Purchasesuccess = () => import('pages/Purchasesuccess/Purchasesuccess') // 支付成功页面
const Invitefriends = () => import('pages/Purchasesuccess/Invitefriends') // 邀请好友页面
const SharingPublicNumber = () => import('pages/Purchasesuccess/SharingPublicNumber') // 邀请成功页面
const Unlockagain = () => import('pages/Purchasesuccess/Unlockagain') // 再次开锁
const BluetoothTour = () => import('pages/Purchasesuccess/BluetoothTour') // 蓝牙之旅
const routes = [{
  path: '/',
  name: 'Home',
  component: Home
}, {
  path: '/lanlv',
  name: 'Lanlv',
  component: Lanlv
}, {
  path: '/shopping',
  name: 'Shopping',
  component: Shopping
}, {
  path: '/confirm',
  name: 'Confirm',
  component: Confirm
}, {
  path: '/map',
  name: 'Map',
  component: Map
}, {
  path: '/personal',
  name: 'Personal',
  component: Personal
}, {
  path: '/order',
  name: 'Order',
  component: Order
}, {
  path: '/orderdetail',
  name: 'Orderdetail',
  component: Orderdetail
}, {
  path: '/return',
  name: 'Return',
  component: Return
}, {
  path: '/discount',
  name: 'Discount',
  component: Discount
}, {
  path: '/question',
  name: 'Question',
  component: Question
}, {
  path: '/join',
  name: 'Join',
  component: Join
}, {
  path: '/loginbu',
  name: 'Loginbu',
  component: Loginbu
}, {
  path: '/loginjiu',
  name: 'Loginjiu',
  component: Loginjiu
}, {
  path: '/shopowner',
  name: 'Shopowner',
  component: Shopowner
}, {
  path: '/repmember',
  name: 'Repmember',
  component: Repmember
}, {
  path: '/repmessage',
  name: 'Repmessage',
  component: Repmessage
}, {
  path: '/createmeb',
  name: 'Createmeb',
  component: Createmeb
}, {
  path: '/replenish',
  name: 'Replenish',
  component: Replenish
}, {
  path: '/replenishbig',
  name: 'Replenishbig',
  component: Replenishbig
}, {
  path: '/cabinet',
  name: 'Cabinet',
  component: Cabinet
}, {
  path: '/quehuo',
  name: 'Quehuo',
  component: Quehuo
}, {
  path: '/scanrep',
  name: 'Scanrep',
  component: Scanrep
}, {
  path: '/purchase',
  name: 'Purchase',
  component: Purchase
}, {
  path: '/warehouse',
  name: 'Warehouse',
  component: Warehouse
}, {
  path: '/daishou',
  name: 'Daishou',
  component: Daishou
}, {
  path: '/error',
  name: 'Error',
  component: Error
}, {
  path: '/replenishment',
  name: 'Replenishment',
  component: Replenishment
}, {
  path: '/frame',
  name: 'Frame',
  component: Frame
}, {
  path: '/hotelManagement',
  name: 'HotelManagement',
  component: HotelManagement
}, {
  path: '/hotelDetails',
  name: 'HotelDetails',
  component: HotelDetails
}, {
  path: '/hotelSales',
  name: 'HotelSales',
  component: HotelSales
}, {
  path: '/salesvolume',
  name: 'Salesvolume',
  component: Salesvolume
}, {
  path: '/salesdetails',
  name: 'Salesdetails',
  component: Salesdetails
}, {
  path: '/totalalesvolume',
  name: 'Totalalesvolume',
  component: Totalalesvolume
}, {
  path: '/dailysalesvolume',
  name: 'Dailysalesvolume',
  component: Dailysalesvolume
}, {
  path: '/hotelSalesDetails',
  name: 'HotelSalesDetails',
  component: HotelSalesDetails
}, {
  path: '/hotelsharing',
  name: 'Hotelsharing',
  component: Hotelsharing
}, {
  path: '/salesamount',
  name: 'Salesamount',
  component: Salesamount
}, {
  path: '/divideintodetails',
  name: 'Divideintodetails',
  component: Divideintodetails
}, {
  path: '/replenishmentclerk',
  name: 'Replenishmentclerk',
  component: Replenishmentclerk
}, {
  path: '/datacompass',
  name: 'Datacompass',
  component: Datacompass
}, {
  path: '/dataHotelSales',
  name: 'DataHotelSales',
  component: DataHotelSales
}, {
  path: '/dataHotelsharing',
  name: 'DataHotelsharing',
  component: DataHotelsharing
}, {
  path: '/dataTotalalesvolume',
  name: 'DataTotalalesvolume',
  component: DataTotalalesvolume
}, {
  path: '/mywallet',
  name: 'Mywallet',
  component: Mywallet
}, {
  path: '/compassorder',
  name: 'Compassorder',
  component: Compassorder
}, {
  path: '/CompassOrderDetails',
  name: 'CompassOrderDetails',
  component: CompassOrderDetails
}, {
  path: '/pursesharing',
  name: 'Pursesharing',
  component: Pursesharing
}, {
  path: '/walletdetails',
  name: 'Walletdetails',
  component: Walletdetails
}, {
  path: '/Hotelcounter',
  name: 'Hotelcounter',
  component: Hotelcounter
}, {
  path: '/enabled',
  name: 'Enabled',
  component: Enabled
}, {
  path: '/addHotel',
  name: 'AddHotel',
  component: AddHotel
}, {
  path: '/hotelAlliance',
  name: 'HotelAlliance',
  component: HotelAlliance
}, {
  path: '/hotelfranchisedetails',
  name: 'Hotelfranchisedetails',
  component: Hotelfranchisedetails
}, {
  path: '/hotelSalesa',
  name: 'HotelSalesa',
  component: HotelSalesa
}, {
  path: '/salesdetailsa',
  name: 'Salesdetailsa',
  component: Salesdetailsa
}, {
  path: '/salesvolumea',
  name: 'Salesvolumea',
  component: Salesvolumea
}, {
  path: '/totalalesvolumea',
  name: 'Totalalesvolumea',
  component: Totalalesvolumea
}, {
  path: '/hotelSalesDetailsa',
  name: 'HotelSalesDetailsa',
  component: HotelSalesDetailsa
}, {
  path: '/dailysalesvolumea',
  name: 'Dailysalesvolumea',
  component: Dailysalesvolumea
}, {
  path: '/divideintodetailsa',
  name: 'Divideintodetailsa',
  component: Divideintodetailsa
}, {
  path: '/hotelsharinga',
  name: 'Hotelsharinga',
  component: Hotelsharinga
}, {
  path: '/salesamounta',
  name: 'Salesamounta',
  component: Salesamounta
}, {
  path: '/franchiserSupplier',
  name: 'FranchiserSupplier',
  component: FranchiserSupplier
}, {
  path: '/purchasesuccess',
  name: 'Purchasesuccess',
  component: Purchasesuccess
}, {
  path: '/Invitefriends',
  name: 'Invitefriends',
  component: Invitefriends
}, {
  path: '/sharingPublicNumber',
  name: 'SharingPublicNumber',
  component: SharingPublicNumber
}, {
  path: '/unlockagain',
  name: 'Unlockagain',
  component: Unlockagain
}, {
  path: '/BluetoothTour',
  name: 'BluetoothTour',
  component: BluetoothTour
}]

export default routes
